
package dkffkd23;

import java.util.Scanner;

public class ren3 {

	public static void main(String[] args) {

		long hour;
		long second;
		long minute;
		long day;
		
		Scanner sc=new Scanner(System.in);
		Scanner sc1=new Scanner(System.in);
		Scanner sc2=new Scanner(System.in);
		
		System.out.print("정수를 입력하세요");
		second = sc.nextLong();
		day = ((second/60)/60)/24;
		//System.out.println( 1234567890L/86400 );
		
		System.out.print("정수를 입력하세요");
		hour = ((second/60)/60);
	    second = sc1.nextInt();
		
		System.out.print("정수를 입력하세요");
		minute=(second/60)%60;
	    second = sc2.nextInt();
	    
	    System.out.println(minute+"분");
	    System.out.println(hour+"시간");
	    System.out.println(day+"일");
	    
	    //스캔이 완료되면  스캐너 변수.close(); 입력
	    //second = sc.next(); <-- String을 읽어올 경우는 next만 쓰면 된다.
	}

}
